public class Plane{
public SpeedSensor spS;
public SensorCoordinate sCoo;
public HeightSensor hS;
	public Plane (SpeedSensor spS, SensorCoordinate sCoo, HeightSensor hS){
	this.spS=spS;
	this.sCoo=sCoo;
	this.hS=hS;
	System.out.println("Plane");
	}
	public double getH(){
	return hS.getH();
	}
	public int getV()
		{
		return spS.getV();
		}
		
		public String getCoo()
		{
		return  "latitude of ="+sCoo.getX()+" "+"longitude of="+sCoo.getY();
		}
		
	}